@echo on
echo "XPIDL-build.bat is called"
Set GeckoSDKPath=%1
REM THIS COMMAND BELOW WILL GENERATE THE .h from the IDL file
%GeckoSDKPath%\bin\xpidl.exe -m header -I%GeckoSDKPath%\idl %2
REM THIS COMMAND BELOW WILL GENERATE THE TYPELIB FROM THE ILD file
%GeckoSDKPath%\bin\xpidl.exe -m typelib -I%GeckoSDKPath%\idl %2
echo "XPID-build.bat finished"